package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预存款信息表对象 zhwy_advancedeposit
 *
 * @author ruoyi
 * @date 2024-05-07
 */
public class ZhwyAdvancedeposit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商铺id */
    @Excel(name = "商铺id")
    private Long shopsId;

    /** 可用收费项 */
    @Excel(name = "可用收费项")
    private Long type;

    /** 收费项目id */
    @Excel(name = "收费项目id")
    private Long chargeItemId;

    /** 收费金额 */
    @Excel(name = "收费金额")
    private Long amt;

    /** 付款方式id */
    @Excel(name = "付款方式id")
    private Long payId;

    /** 收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 收款人姓名 */
    @Excel(name = "收款人姓名")
    private String chargeUser;

    /** 收款单号 */
    @Excel(name = "收款单号")
    private String payNo;

    /** 付款类型 */
    @Excel(name = "付款类型")
    private String payType;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private Long balance;

    /** 退款人姓名 */
    @Excel(name = "退款人姓名")
    private String refundUser;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 退款方式id */
    @Excel(name = "退款方式id")
    private Long refundId;

    @Excel(name = "编号")
    private String shopsCode;
    @Excel(name = "收费项目")
    private String chargeItemName;
    @Excel(name = "支付方式")
    private String paymentMethodName;

    public String getPaymentMethodName() {
        return paymentMethodName;
    }

    public void setPaymentMethodName(String paymentMethodName) {
        this.paymentMethodName = paymentMethodName;
    }

    public String getChargeItemName() {
        return chargeItemName;
    }

    public void setChargeItemName(String chargeItemName) {
        this.chargeItemName = chargeItemName;
    }

    public String getShopsCode() {
        return shopsCode;
    }

    public void setShopsCode(String shopsCode) {
        this.shopsCode = shopsCode;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setShopsId(Long shopsId)
    {
        this.shopsId = shopsId;
    }

    public Long getShopsId()
    {
        return shopsId;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setChargeItemId(Long chargeItemId)
    {
        this.chargeItemId = chargeItemId;
    }

    public Long getChargeItemId()
    {
        return chargeItemId;
    }
    public void setAmt(Long amt)
    {
        this.amt = amt;
    }

    public Long getAmt()
    {
        return amt;
    }
    public void setPayId(Long payId)
    {
        this.payId = payId;
    }

    public Long getPayId()
    {
        return payId;
    }
    public void setPayTime(Date payTime)
    {
        this.payTime = payTime;
    }

    public Date getPayTime()
    {
        return payTime;
    }
    public void setChargeUser(String chargeUser)
    {
        this.chargeUser = chargeUser;
    }

    public String getChargeUser()
    {
        return chargeUser;
    }
    public void setPayNo(String payNo)
    {
        this.payNo = payNo;
    }

    public String getPayNo()
    {
        return payNo;
    }
    public void setPayType(String payType)
    {
        this.payType = payType;
    }

    public String getPayType()
    {
        return payType;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setBalance(Long balance)
    {
        this.balance = balance;
    }

    public Long getBalance()
    {
        return balance;
    }
    public void setRefundUser(String refundUser)
    {
        this.refundUser = refundUser;
    }

    public String getRefundUser()
    {
        return refundUser;
    }
    public void setRefundTime(Date refundTime)
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime()
    {
        return refundTime;
    }
    public void setRefundId(Long refundId)
    {
        this.refundId = refundId;
    }

    public Long getRefundId()
    {
        return refundId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("shopsId", getShopsId())
                .append("type", getType())
                .append("chargeItemId", getChargeItemId())
                .append("amt", getAmt())
                .append("payId", getPayId())
                .append("payTime", getPayTime())
                .append("chargeUser", getChargeUser())
                .append("payNo", getPayNo())
                .append("payType", getPayType())
                .append("state", getState())
                .append("balance", getBalance())
                .append("refundUser", getRefundUser())
                .append("refundTime", getRefundTime())
                .append("refundId", getRefundId())
                .toString();
    }
}
